//
//  ViewController.m
//  PickerDemo
//
//  Created by Cluy on 16/12/19.
//  Copyright © 2016年 Cluy. All rights reserved.
//

#import "ViewController.h"
#import "CustomerPickerView.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    _hunyin.itemList =@[@"已婚",@"未婚",@"离异"];
    [_hunyin setShowBackImg:YES];
    _hunyin.title.text = @"请选择婚姻状况";
    _hunyin.notDataAction = ^(){
        // todo alert @"请选择婚姻状况";
    };
    _hunyin.selectItemValue= ^(NSArray *selectItems){
        _hunyin.title.text = [selectItems objectAtIndex:0];
    };
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
